package com.cx.mall;

import com.alibaba.csp.sentinel.annotation.SentinelResource;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication()
@MapperScan(basePackages = {"com.cx.mall.demo.mapper"})
@EnableFeignClients(basePackages = {"com.cx.mall.api"})
@SentinelResource
public class MallDemoApplication {
    public static void main(String[] args) {
        SpringApplication.run(MallDemoApplication.class, args);
    }
}
